<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // [...] 扩展运算符，能将「数组」转换为逗号分割的「形参序列」

        // 1. 简单使用
        const data = ['Java', 'JavaScript', 'Vue'];
        console.log(...data); // Java JavaScript Vue
    </script>
</body>
</html>